<?php

namespace app\admin\controller\baiduwebtongji;

/**
 * 百度网站统计-关键词排名
 *
 * @icon fa fa-circle-o
 */
class Rank extends Base
{
    public function _initialize()
    {
        parent::_initialize();
    }
    public function index()
    {
    	$config=get_addon_config('baiduwebtongji');
        $keywords_str=$config['keywords'];
        if($keywords_str){
            $keywords=explode(",",$config['keywords']);
        }else{
            $keywords='';
        }
        $this->assign('keywords_str',$keywords_str);
    	$this->assign('keywords',$keywords);
    	return $this->view->fetch();
    }
}